# Add touch driver to compilation only if it is selected in menuconfig
# idf_component_register(SRCS ${SOURCES}
#                        INCLUDE_DIRS ${LVGL_INCLUDE_DIRS}
#                        REQUIRES lvgl driver esp_rom)
                       

idf_component_register(SRCS "adcraw.c" 
                            "ft6x36.c"
                            "lvgl_helpers.c"
                            "touch_driver.c"
                            "tp_i2c.c"
                       INCLUDE_DIRS "."
                       REQUIRES lvgl driver esp_rom)